package com.ruiysoft.pub.consts;

public class EnumUtil {
	public enum Required {
		YES, NO
	}
	
	public enum DelFlag {
		YES(1), NO(0);
		
		private int index;
		private DelFlag(int index) {
			this.index=index;
		}
		public int getIndex() {
			return index;
		}
	}
	
	public enum IsSelect {
		YES(1), NO(0);
		
		private int index;
		private IsSelect(int index) {
			this.index=index;
		}
		public int getIndex() {
			return index;
		}
	}
	// 是否默认
	public enum IsDef {
		YES(1), NO(0);
		
		private int index;
		private IsDef(int index) {
			this.index=index;
		}
		public int getIndex() {
			return index;
		}
	}
}
